package com.ruoyi.rgpp.service.impl;

import org.springframework.stereotype.Component;

@Component("myTask")
public class MyTask {
    public void exec(){
        System.out.println("每隔10秒执行定时任务");
    }

}
